cmake_minimum_required(VERSION 3.10)

# 项目名称
project(JsonParser)

# 设置 C++ 标准
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

# 添加可执行文件
add_executable(JsonParser main.cpp ./json/json.cpp ./parser/parser.cpp)

# 包含头文件目录
include_directories(${CMAKE_SOURCE_DIR}/json)
include_directories(${CMAKE_SOURCE_DIR}/parser)